package com.ctshk.rpc.bus.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@ApiModel(value = "BusPriceRemainderDTO", description = "巴士加幅后价格和余票DTO")
public class BusPriceRemainderDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("ID")
    private Long id;
    
    @ApiModelProperty(value = "产品来源")
    private Integer productSource;
    
    @ApiModelProperty("出发日期")
    LocalDate departureDate;
    
    @ApiModelProperty("成人价格")
    private BigDecimal adultPrice;
    
    @ApiModelProperty("小童价格")
    private BigDecimal childrenPrice;
    
    @ApiModelProperty("长者价格")
    private BigDecimal oldPrice;
    
    @ApiModelProperty("加幅策略规则ID")
    private Long increaseStrategyRuleId;
    
    @ApiModelProperty("是否限制票数，0：否；1：是；")
    private Integer isLimitTicket;
    
    @ApiModelProperty("总票数")
    private Integer saleableNumber;
    
    @ApiModelProperty("余票数量")
    private Integer remainderNumber;
}
